package com.laicunba.pojo;

import java.math.BigDecimal;

import org.springframework.stereotype.Component;

import com.laicunba.annotation.MyColumn;
import com.laicunba.annotation.MyTable;

/**
 * 活期账户,计算复利
 * 
 * @author why
 *
 */
@Component
@MyTable
public class CurrentAccountDO extends BaseDO {
	private BigDecimal balance;
	private String status;// enable 正常, disable 不可用的(但可以存钱)
	@MyColumn(type = "bool DEFAULT false")
	private boolean profitLocker;

	public void setProfitLocker(boolean profitLocker) {
		this.profitLocker = profitLocker;
	}

	public boolean isProfitLocker() {
		return profitLocker;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public String getStatus() {
		return status;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
